package com.demo.mutilThread;

@FunctionalInterface //拒绝策略 //有且仅有一个抽象接口,多的话会编译报错
public interface RejectPolicy<T> {

    void reject(BlockingQqeuePollImplement<T> queue, T task);
    //void pass(BlockingQueue<T> queue, T task);
}
